package com.googlecode.gunncs.mechanism.component;

/**
 * The <code>NodeFindListener</code> interface specifies classes that need
 * to be notified when the robot detects a new node, or a decision port, fork
 * for paths to take
 * 
 * @see NodeFoundEvent
 * @author ajc
 * 
 */
public interface NodeFoundListener {

	/**
	 * Called when the robot finds that at the current position, there are
	 * multiple paths to take
	 * 
	 * @param e
	 *            an event encapsulating the Vector that was running at the time
	 *            of node found and the Vector's source Node
	 */
	public void onNodeFound(NodeFoundEvent e);

}